<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<title>邮箱验证</title>
<link href="${contextPath}/resources/basicInfoCSS/addnew.css" rel="stylesheet" type="text/css"/>
<!--主内容开始--> 
	<div class="op_main" id="pl_webconsole_verifysite">
	  <div class="op_main_inner">
	    <div class="W_bora"> 
	      <!-- title -->
	      <div class="op_title">
	        <div class="fl"><span class="W_f14 W_fb">验证邮箱</span></div>
	      </div>
	      <!-- /title -->
	      <div class="op_form_wrap" style="margin-left: 100px;margin-top:50px;"> 
	        <!-- form_table -->
		    <form id="formId">
		        <div class="form_table">
		          <div class="form_box">
		            <dl class="clearfix">
		              <dt>邮箱：</dt>
		              <dd class="conbox conbox_heig1">
		                <input style="color: rgb(102, 102, 102);" class="W_inputStp" id = "email" name="email"  type="text"  readonly="readonly" value="${email}">
		              </dd>
		            </dl>
		            <dl class="clearfix">
		              <dt>验证码：</dt>
		              <dd class="conbox conbox_heig2">
		              	<input style="color: rgb(102, 102, 102);" class="W_inputStp" id = "emailCode" name="emailCode"  type="text">
		              </dd>
		              <input  id="emailCodeBtn" value="获取验证码" class="ui-btn10" type="button"/>
		            </dl>
		            <dl class="clearfix" style="text-align: center;">
		              <span>&nbsp;</span><span id="emailInfo"></span>
		            </dl>
		            <dl class="clearfix" style="text-align: center;">
	              	 	<dd class="conbox conbox_heig2">
			                <input id="emailSubmit" type="button" value="完成"  class="ui-btn4 safety-btn" onclick="emailSubmit()"/>
		              	</dd>
		            </dl>
		          </div>
		        </div>
		    </form>
	        <!-- /form_table --> 
	      </div>
	    </div>
	  </div>
	</div>
<!--/主内容结束--> 
<script src="${contextPath}/resources/basicInfoJS/portal/index.js"  charset="utf-8"type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("#emailCodeBtn").click(function() {
			emailCodeBtn("${contextPath}/portal/cooperator/getEmailCode");
		});
		$("#emailSubmit").click(function() {
			emailSubmit("${contextPath}/portal/cooperator/checkCode","${contextPath}/portal/cooperator/MyApp");
		});
	});
</script>

